package cn.cqie.attendance.teacher.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.ibatis.type.Alias;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author wqh
 * @date 2021/6/22 13:53
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "个人or小组评分对象", description = "")
@Alias("personScore")
public class TeacherScore implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "小组id")
    private Integer groupId;

    @ApiModelProperty(value = "课程id")
    private Integer courseId;

    @ApiModelProperty(value = "院系")
    private String collegeName;

    @ApiModelProperty(value = "项目名称")
    private String courseName;

    @ApiModelProperty(value = "小组名称")
    private String groupName;

    @ApiModelProperty(value = "学生姓名")
    private Integer studentId;

    @ApiModelProperty(value = "学生姓名")
    private String stuName;

    @ApiModelProperty(value = "性别")
    private Integer gender;

    @ApiModelProperty(value = "学号")
    private String stuNumber;

    @ApiModelProperty(value = "项目角色")
    private Integer role;

    @ApiModelProperty(value = "专业")
    private String majorName;

    @ApiModelProperty(value = "责任老师id")
    private Integer responseTeacher;

    @ApiModelProperty(value = "责任老师")
    private String responseTeacherName;

    @ApiModelProperty(value = "实训老师")
    private String trainTeacherName;

    @ApiModelProperty(value = "小组长")
    private String leader;

    @ApiModelProperty(value = "综合打分")
    private String overallScore;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "教师综合打分提交时间")
    private Date submitTime;

    @ApiModelProperty(value = "评语")
    private String comment;

    @ApiModelProperty(value = "小组成员")
    private String groupMember;

    @ApiModelProperty(value = "小组成员数量")
    private Integer groupSum;
}
